# Readme

## The role of each folder

- `DataGeneration`: contains code for generating simulation data. It is called in the code files under `SimulationRun`.
- `SimulationRun`: contains the code for running the simulation. 
- `Data`:It will store the simulation results generated by `SimulationRun`.
- `FigurePlot`: contains code for plotting result figures based on results in `Data` .
- `Figure`, `Figure2`, `Figure_additional`: contains the result plot after running codes in `FigurePlot`.

## How to run the simulation
To run the simulation, first, run the code in `SimulationRun/XBCF` and `SimulationRun/GP`. After that, the results will be stored in the folder `Data`. Finally, run the code files in the folder `FigurePlot` to generate the figures. The figures will be stored in the folder `Figure2` and `Figure_additional`.
